#include <iostream>
#include <cmath>
using namespace std;
class CPoint
{
public:
    void input();
    void output();
private:
    double x,y;
};
void CPoint::input(){
cin>>x>>y;
}
void CPoint::output(){
cout<<"abs="<<sqrt(x * x + y * y);
}


int main()
{
    CPoint point;
    point.input();      //初始化输入坐标点
    point.output();   //输出点到原点的距离
    return 0;
}